package com.woniuxy.java106crm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 销售机会实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Leads {
    private Integer id;
    private String source;
    @NotBlank(message = "客户名称不能为空")
    private String customerName;
    private Integer probability;
    private String summary;
    @NotBlank(message = "联系人不能为空")
    private String linkman;
    @NotBlank(message = "电话号码不能为空")
    private String phone;
    private String description;
    private String appointStatus;
    private String developStatus;
    private String creator;
    private String createTime;
    private String appointor;
    private String appointTime;
}
